/*
 *  Copyright (C) 2012 Компания ВИТ. web: http://diasled.ru Е-mail:  vit@diasled.ru
 * 
 *  This program is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 * 
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 * 
 *  You should have received a copy of the GNU General Public License
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
package ru.apertum.diasled.model;

import java.io.Serializable;
/*
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
 * 
 */

/**
 *
 * @author Evgeniy Egorov, Aperum Projects
 */
/*
@Entity
@Table(name = "sensor")
@javax.persistence.TableGenerator(name = "SENSOR_GEN_ID",
table = "TABLE_GEN_ID",
allocationSize = 1)
@javax.persistence.SequenceGenerator(name = "SEQ_SENSOR_GEN",
sequenceName = "sensor_seq_id",
allocationSize = 1)
 * 
 */
public class Sensor implements Serializable {

    /*
    @Id
    @Column(name = "id")
    //@GeneratedValue(strategy = GenerationType.TABLE, generator="SENSOR_GEN_ID" )
    @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "SEQ_SENSOR_GEN")
    private Long id;
    
    public Long getId() {
    return id;
    }
    
    public void setId(Long id) {
    this.id = id;
    }
     * 
     */
    //@Column(name = "exam_id")
    private Long examId;

    public Long getExamId() {
        return examId;
    }

    public void setExamId(Long examId) {
        this.examId = examId;
    }
    //@Column(name = "frame_id")
    private Long frameId;

    public Long getFrameId() {
        return frameId;
    }

    public void setFrameId(Long frameId) {
        this.frameId = frameId;
    }
    //@Column(name = "sensor_id")
    private Long sensorId;

    public Long getSensorId() {
        return sensorId;
    }

    public void setSensorId(Long sensorId) {
        this.sensorId = sensorId;
    }
    //@Column(name = "sensor_value")
    private Short sensorValue;

    public Short getSensorValue() {
        return sensorValue;
    }

    public void setSensorValue(Short sensorValue) {
        this.sensorValue = sensorValue;
    }
}
